package com.company.demo.strategy_game;

import com.company.demo.TestInterface;

public class StrategyGameTest implements TestInterface {

    @Override
    public void run(){
        Weapon weapon;
        Role role;
        weapon=new Spaer();
        role=new Hero(weapon);
        System.out.println(role.attack());

        weapon=new Dagger();
        role=new Devil(weapon);

        System.out.println(role.attack());
    }
}
